package edu.gatech.angry12.UI.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Frame;

public class Listings extends Composite {

	public Listings() {
		
		FlexTable flexTable = new FlexTable();
		flexTable.setStyleName("gwt-SeedApp-Registration-background");
		initWidget(flexTable);
		flexTable.setSize("1024", "514");
		
		Grid yourPostingGrid = new Grid(2, 1);
		flexTable.setWidget(0, 0, yourPostingGrid);
		yourPostingGrid.setSize("345px", "514px");
		
		Label lblYourPostings = new Label("Your Postings");
		lblYourPostings.setStyleName("gwt-SeedApp-Listings-label");
		yourPostingGrid.setWidget(0, 0, lblYourPostings);
		
		Frame yourPostingFrame = new Frame("http://www.google.com");
		yourPostingGrid.setWidget(1, 0, yourPostingFrame);
		yourPostingFrame.setSize("333px", "467px");
		
		Grid exchangeGrid = new Grid(4, 1);
		flexTable.setWidget(0, 1, exchangeGrid);
		
		Label lblPendingExchanges = new Label("Pending Exchanges");
		lblPendingExchanges.setStyleName("gwt-SeedApp-Listings-label");
		exchangeGrid.setWidget(0, 0, lblPendingExchanges);
		
		Frame pendingExchangeFrame = new Frame("http://www.google.com");
		exchangeGrid.setWidget(1, 0, pendingExchangeFrame);
		pendingExchangeFrame.setHeight("213px");
		
		Label lblSuggestedExchanges = new Label("Suggested Exchanges");
		lblSuggestedExchanges.setStyleName("gwt-SeedApp-Listings-label");
		exchangeGrid.setWidget(2, 0, lblSuggestedExchanges);
		
		Frame suggestedExchangeFrame = new Frame("http://www.google.com");
		exchangeGrid.setWidget(3, 0, suggestedExchangeFrame);
		suggestedExchangeFrame.setHeight("214px");
		
		Grid yourWishListGrid = new Grid(2, 1);
		flexTable.setWidget(0, 2, yourWishListGrid);
		
		Label lblYourWishList = new Label("Your Wish List");
		lblYourWishList.setStyleName("gwt-SeedApp-Listings-label");
		yourWishListGrid.setWidget(0, 0, lblYourWishList);
		
		Frame wishListFrame = new Frame("http://www.google.com");
		yourWishListGrid.setWidget(1, 0, wishListFrame);
		wishListFrame.setHeight("474px");
	}

}
